package cn.fangline.wo.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 公司中间表
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
@TableName("corp_temp")
public class CorpTemp extends Model<CorpTemp> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value="id", type = IdType.AUTO)
	private Integer id;
    /**
     * 公司名称
     */
	@TableField("corp_name")
	private String corpName;
    /**
     * 公司人数
     */
	@TableField("staff_count")
	private Integer staffCount;
    /**
     * 公司ID
     */
	@TableField("corp_id")
	private Integer corpId;
    /**
     * 城市
     */
	@TableField("city_id")
	private Integer cityId;

	@TableField(exist = false)
	private String corp;


	public String getCorp() {
		return corp;
	}

	public void setCorp(String corp) {
		this.corp = corp;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCorpName() {
		return corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	public Integer getStaffCount() {
		return staffCount;
	}

	public void setStaffCount(Integer staffCount) {
		this.staffCount = staffCount;
	}

	public Integer getCorpId() {
		return corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
